projects
/
maintainer-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dafa7a
)
update_kernel.sh: fix syntax error
author
Kevin Darbyshire-Bryant
<
[email protected]
>
Sun, 4 Feb 2018 10:40:24 +0000
(10:40 +0000)
committer
Kevin Darbyshire-Bryant
<
[email protected]
>
Sun, 4 Feb 2018 10:40:24 +0000
(10:40 +0000)
Replace while [ $# > 0 ]; with while [ $# -gt 0 ]
The former redirects $# to a file '0' creating a stray file as the least
worrying of side effects.
Signed-off-by: Kevin Darbyshire-Bryant <
[email protected]
>
update_kernel.sh
patch
|
blob
|
history
diff --git
a/update_kernel.sh
b/update_kernel.sh
index 198ca6b9b8813bd2685da34b82f7ad94d4e8647e..0cbdb1d28f0b9466d528ddaa2a7b8ec7aa95a117 100755
(executable)
--- a/
update_kernel.sh
+++ b/
update_kernel.sh
@@
-12,7
+12,7
@@
UPDATE=0
KERNEL=
PATCHVER=
-while [ $#
>
0 ]; do
+while [ $#
-gt
0 ]; do
case $1 in
-b|--build)
BUILD=1